export const addToCart=(data,count)=>{
    //console.log(count,'------actions');
    return{
        type:'ADD_TO_CART',
        payload:data,
        count:count
    }
}

export const delToCart=(data)=>{
    return{
        type:'DEL_TO_CART',
        payload:data,
    }
}

export const delAllToCart=()=>{
    return{
        type:'DEL_ALL_TO_CART',
    }
}

export const cartStatus=(data)=>{
    //console.log('------actions-----cartStatus');
    return{
        type:'CART_STATUS',
        payload:data,
    }
}

export const cartAllStatus=(data)=>{
    //console.log('------actions-----cartStatus');
    return{
        type:'CART_ALL_STATUS',
        payload:data,
    }
}

/* export const totalNum=()=>{
    return{
        type:'TOTAL_NUM',
    }
}

export const totalPrice=()=>{
    return{
        type:'TOTAL_PRICE',
    }
} */